From: Jay Belanger Date: Mon, 27 Apr 2009 23:07:21 +0000 (+0000) Subject: (calc-mode): Replace `copy-list' with `copy-sequence'. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~730 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=fa0e2f02a4fd4642fd3338607a4556365199adf5;p=emacs.git (calc-mode): Replace `copy-list' with `copy-sequence'. --- diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 00a33f59374..78513c891f6 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -1335,7 +1335,7 @@ Notations: 3.14e6 3.14 * 10^6 (calc-refresh t) (calc-set-mode-line) (calc-check-defines) - (if calc-buffer-list (setq calc-stack (copy-list calc-stack))) + (if calc-buffer-list (setq calc-stack (copy-sequence calc-stack))) (add-to-list 'calc-buffer-list (current-buffer) t)) (defvar calc-check-defines 'calc-check-defines) ; suitable for run-hooks